package com.xl.observer.weather;

/**
 * 1、具体的目标对象，把有关的状态存入到观察者对象中
 */
public class ConcreateWeatherSubject extends WeatherSubject {

    private String weatherContent;

    public String getWeatherContent() {
        return weatherContent;
    }

    public void setWeatherContent(String weatherContent) {
        this.weatherContent = weatherContent;
        this.notifyObserver(weatherContent);
    }
}
